
<table>
	<tr align="center">
		<th>序号</th>
		<th>出库日期</th>
		<th>出库人</th>		
		
		<th>领料人</th>	
		<th>名称+规格</th>
		<th>单位</th>
		<th>单价</th>
		<th>数量</th>
		<th>小计</th>
		<th>创建日期</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]} 
	{[assign var="no" value="`$key+1`"]}
	{[assign var="total" value="`$item.price*$item.amount`"]}
	{[assign var="t1" value="`$t1+$item.amount`"]}
	{[assign var="t2" value="`$t2+$total`"]}
	<tr align="center">
		<td>{[$no]}</td>
		<td>{[$item.date]}</td>
		<td>{[$item.emp_t]}</td>
		
		<td>{[$item.receiver_t]}</td>
		
		<td>{[$item.name|truncate:30:"...":true]} ({[$item.standard|truncate:30:"...":true]})</td>
		<td>{[$item.unit]}</td>
		<td>{[$item.price|string_price]}</td>
		<td>{[$item.amount|string_float]}</td>
		<td>{[$total|money]}</td>
		<td>{[$item.createtime|date_format:'%Y-%m-%d']}</td>
	</tr>
	{[/foreach]}
</table>
